
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router';
import App from './App.vue';
// 用于和后台交互，发送请求
import axios from 'axios' ;
Vue.prototype.$ajax = axios
// 设置全局变量
import global_ from './Base.vue'
Vue.prototype.GLOBAL = global_;
axios.defaults.baseURL=global_.BASE_URL;

Vue.use(ElementUI);

new Vue({
  el: '#app',
  router,
  render: h => h(App)
});